package com.example.dao;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.sql.SQLException;

public class accountDao {
    public int account(String name1,String name2) throws SQLException {
        ApplicationContext context = new ClassPathXmlApplicationContext("Spring-config.xml");
        // 获取对象

        return 0;
    }
}
